package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="YSZB_ZT"
 *     
*/
public class YszbZt implements Serializable {

    /** identifier field */
    private String cfztbh;

    /** persistent field */
    private String nd;

    /** nullable persistent field */
    private String cfmc;

    /** persistent field */
    private String cflxDm;

    /** persistent field */
    private String dwbh;

    /** nullable persistent field */
    private String sjzt;

    /** nullable persistent field */
    private String cjsj;

    /** nullable persistent field */
    private String xdsj;

    /** nullable persistent field */
    private String xjzt;

    /** nullable persistent field */
    private String qrsj;

    /** nullable persistent field */
    private String sjcfztbh;

    /** nullable persistent field */
    private String bz;
    
    private String sbsj;
    
    private String bhyy;

    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;
    
    /** nullable persistent field */
    private String zt3;

    /** nullable persistent field */
    private String zt4;

    /** full constructor */
    public YszbZt(String cfztbh, String nd, String cfmc, String cflxDm, String dwbh, String sjzt, String cjsj, String xdsj, String xjzt, String qrsj, String sjcfztbh, String bz, String zt1, String zt2) {
        this.cfztbh = cfztbh;
        this.nd = nd;
        this.cfmc = cfmc;
        this.cflxDm = cflxDm;
        this.dwbh = dwbh;
        this.sjzt = sjzt;
        this.cjsj = cjsj;
        this.xdsj = xdsj;
        this.xjzt = xjzt;
        this.qrsj = qrsj;
        this.sjcfztbh = sjcfztbh;
        this.bz = bz;
        this.zt1 = zt1;
        this.zt2 = zt2;
    }

    /** default constructor */
    public YszbZt() {
    }

    /** minimal constructor */
    public YszbZt(String cfztbh, String nd, String cflxDm, String dwbh) {
        this.cfztbh = cfztbh;
        this.nd = nd;
        this.cflxDm = cflxDm;
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="CFZTBH"
     *         
     */
    public String getCfztbh() {
        return this.cfztbh;
    }

    public void setCfztbh(String cfztbh) {
        this.cfztbh = cfztbh;
    }

    /** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *             not-null="true"
     *         
     */
    public String getNd() {
        return this.nd;
    }

    public void setNd(String nd) {
        this.nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="CFMC"
     *             length="50"
     *         
     */
    public String getCfmc() {
        return this.cfmc;
    }

    public void setCfmc(String cfmc) {
        this.cfmc = cfmc;
    }

    /** 
     *            @hibernate.property
     *             column="CFLX_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getCflxDm() {
        return this.cflxDm;
    }

    public void setCflxDm(String cflxDm) {
        this.cflxDm = cflxDm;
    }

    /** 
     *            @hibernate.property
     *             column="DWBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getDwbh() {
        return this.dwbh;
    }

    public void setDwbh(String dwbh) {
        this.dwbh = dwbh;
    }

    /** 
     *            @hibernate.property
     *             column="SJZT"
     *             length="2"
     *         
     */
    public String getSjzt() {
        return this.sjzt;
    }

    public void setSjzt(String sjzt) {
        this.sjzt = sjzt;
    }

    /** 
     *            @hibernate.property
     *             column="CJSJ"
     *             length="14"
     *         
     */
    public String getCjsj() {
        return this.cjsj;
    }

    public void setCjsj(String cjsj) {
        this.cjsj = cjsj;
    }

    /** 
     *            @hibernate.property
     *             column="XDSJ"
     *             length="14"
     *         
     */
    public String getXdsj() {
        return this.xdsj;
    }

    public void setXdsj(String xdsj) {
        this.xdsj = xdsj;
    }

    /** 
     *            @hibernate.property
     *             column="XJZT"
     *             length="2"
     *         
     */
    public String getXjzt() {
        return this.xjzt;
    }

    public void setXjzt(String xjzt) {
        this.xjzt = xjzt;
    }

    /** 
     *            @hibernate.property
     *             column="QRSJ"
     *             length="14"
     *         
     */
    public String getQrsj() {
        return this.qrsj;
    }

    public void setQrsj(String qrsj) {
        this.qrsj = qrsj;
    }

    /** 
     *            @hibernate.property
     *             column="SJCFZTBH"
     *             length="50"
     *         
     */
    public String getSjcfztbh() {
        return this.sjcfztbh;
    }

    public void setSjcfztbh(String sjcfztbh) {
        this.sjcfztbh = sjcfztbh;
    }

    /** 
     *            @hibernate.property
     *             column="BZ"
     *             length="400"
     *         
     */
    public String getBz() {
        return this.bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("cfztbh", getCfztbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof YszbZt) ) return false;
        YszbZt castOther = (YszbZt) other;
        return new EqualsBuilder()
            .append(this.getCfztbh(), castOther.getCfztbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getCfztbh())
            .toHashCode();
    }

	public String getSbsj() {
		return sbsj;
	}

	public void setSbsj(String sbsj) {
		this.sbsj = sbsj;
	}

	public String getBhyy() {
		return bhyy;
	}

	public void setBhyy(String bhyy) {
		this.bhyy = bhyy;
	}

	public String getZt3() {
		return zt3;
	}

	public void setZt3(String zt3) {
		this.zt3 = zt3;
	}

	public String getZt4() {
		return zt4;
	}

	public void setZt4(String zt4) {
		this.zt4 = zt4;
	}

}
